package com.code.model;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 响应工具类
 *
 * @author ming
 * @date 2020/7/2
 */
@Component
@Data
@Slf4j
public class ResponseUtil<T> {

    public static final String CODE_SUCCESS = "0";
    public static final String CODE_FAIL = "1";
    public static final String BAD_ARGUMENT = "400";

    private String code;
    private String msg;
    private T data;

}

